import 'virtual:svg-icons-register'
import 'vfonts/FiraCode.css'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import { registerStore } from '@/store'

const app = createApp(App)

app.use(createPinia().use(piniaPluginPersistedstate))
app.use(router)

//  注册pinia状态库
registerStore()

app.mount('#app')
